---@diagnostic disable: lowercase-global, undefined-global, trailing-space

---@type data_keyhandler[]
local data = {
    {
        namespace = 'avatar_bh_mobius',
        skillid = 'charge',
        type = 'down',
        key = 'KEY_Z',
        skill_template_type = 'normal_with_CD',
        skill_template_normal_with_CD = {
            cd = 10,
            
        },
        avatar = {'bh_mobius'},
        fn = function (player, ...)
            if player and S_BH_MOBIUS:checkAlive(player) then
                local energy = player.components.bh_mobius_energy and player.components.bh_mobius_energy:GetVal() or 0
                local consume = energy - math.max(0,energy - 100)
                if consume > 0 then
                    player.components.bh_mobius_energy:DoDelta(-consume)
                    player.components.health:DoDelta(consume)
                end
            end
        end
    }
}


return data